﻿namespace PCBase.UIControls
{
    using System;
    using System.ComponentModel;
    using System.Runtime.CompilerServices;

    [Description("为自定义验证事件提供参数"), Browsable(false)]
    public class CustomerEventArgs
    {
        [Description("获取或设置错误信息")]
        public string ErrorMessage { get; set; }

        [DefaultValue(true), Description("是否通过验证")]
        public bool Validated { get; set; }

        [Description("获取或设置被验证的值")]
        public string Value { get; set; }
    }
}